const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/chat",
  name: "Chat",
  component: Layout,
  redirect: "/chat",
  meta: {
    icon: "entypo:add-user",
    title: "训练模型",
    rank: 0
  },
  children: [
    {
      path: "/chat",
      name: "Chat",
      component: () => import("@/views/chat/chat.vue"),
      meta: {
        title: "训练模型",
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    }
  ]
} satisfies RouteConfigsTable;
